/**
 * 刷新表格
 */
export function useFreshTable() {
  const table = ref();
  function refresh() {
    if (typeof table.value?.refresh === 'function') {
      table.value?.refresh();
    }
  }

  return {
    refresh,
    table,
  };
}
